
/**
 * 活动接口管理
 * @module activity
 */

import req from './index'
/**
 * 
  * 获取押金活动详情
 * @method getActInfo
 * @param {headers}
 * 
 */
const getActInfo = (data, headers) => {
    return req.get('invitation/api/v2/deposit/wxprogress', data, headers)
}


/**
 * 
  * 查看邀请详情
 * @method getInviteInfo
 * @param {headers,data}
 * 
 */
const getInviteInfo = (data, headers) => {
    return req.get('invitation/api/v2/deposit/view', data, headers)
}

/**
 * 
  * 当前地区是否有活动
 * @method haveAct
 * @param {headers}
 * 
 */
const haveAct = (headers) => {
    return req.get('invitation/api/v2/deposit/status', null, headers)
}


export { getActInfo, getInviteInfo, haveAct };